import tools from "../../../tools"
import hierParentModel from './hierParentModel'

export default class dictionaryModel extends hierParentModel {
  constructor(hierProperties) {
    super(hierProperties, dictionaryModel)
  }
  static tpl() {
    return {
      type: 'dictionary',
      content: [
        // item
      ]
    }
  }
  static itemTpl() {
    return {
      nodeId: tools.uuid(),
      name: '',  // 名字不重
      nodeType: "leaf",  //['root', 'list', 'dictionary', 'leaf']
      properties: [],
      statusProperties: [],
      link: {
        // type: "",
        // className: "",
      },
    }
  }
}